#include "RGBColor.h"


RGBColor::RGBColor(void)
{
	red = 0;
	green = 0;
	blue = 0;
	alpha = 0;
}

RGBColor::RGBColor(byte R, byte G, byte B)
{
	red = R;
	green = G;
	blue = B;
}
RGBColor::RGBColor(byte R, byte G, byte B, byte A)
{
	red = R;
	green = G;
	blue = B;
	alpha = A;
}

RGBColor& RGBColor:: operator=(const RGBColor& that)
{
	if(this == &that)
	{
		return *this;
	}
	red = that.red;
	green = that.green;
	blue = that.blue;
	alpha = that.alpha;
	return *this;
}
